package com.dk.service.fallback;

import com.dk.pojo.Car;
import com.dk.service.CarServiceFeign;
import com.dk.util.Result;
import org.springframework.stereotype.Component;

@Component
public class CarServiceFeignFallback implements CarServiceFeign {

    @Override
    public Result findCarList() {
        return Result.fallback();
    }

    @Override
    public Result findCarList(Integer carId) {
        return Result.fallback();
    }

    @Override
    public void deleteCarList(Integer carId) {

    }

    @Override
    public Result updateCar(Car car) {
        return Result.fallback();
    }

    @Override
    public Result saveCar(Car car) {
        return Result.fallback();
    }
}
